package com.ling.rocketmq.annotation;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Documented
@Inherited
public @interface Rocketmq {
    @AliasFor("topic")
    String value() default "";

    @AliasFor("value")
    String topic() default "";

    String tag() default "";

    String messageKey() default "";
}
